
package org.icnmasjid.member.service;

import java.util.List;

import org.icnmasjid.member.service.Manager;
import org.icnmasjid.member.model.Login;
import org.icnmasjid.member.dao.LoginDao;

public interface LoginManager extends Manager {
    /**
     * Retrieves all of the logins
     */
    public List getLogins(Login login);

    /**
     * Gets login's information based on id.
     * @param id the login's id
     * @return login populated login object
     */
    public Login getLogin(final String id);

    /**
     * Saves a login's information
     * @param login the object to be saved
     */
    public void saveLogin(Login login);

    /**
     * Removes a login from the database by id
     * @param id the login's id
     */
    public void removeLogin(final String id);
}

